import request from '@/utils/request';

//登录接口
export function login(query) {
    return request({
        url: '/dev-api/users/login',
        method: 'post',
        data: query
    })
}

//获取验证码
export function getRandomImage() {
    return request({
        url: `/dev-api/users/verify-code`,
        method: 'get'
    })
}
